package com.football.springboot.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@ApiModel(value = "球员单场数据表", description = "")
@TableName("player_data_single")
@Data
public class PlayerDataSingle {

    @ApiModelProperty("进球数")
    private Double singleGoal;

    @ApiModelProperty("助攻数")
    private Double singleAssist;

    @ApiModelProperty("射门数")
    private Double singleShoot;

    @ApiModelProperty("射正数")
    private Double singleOntarget;

    @ApiModelProperty("传球数")
    private Double singlePass;

    @ApiModelProperty("传球成功数")
    private Double singleOkpass;

    @ApiModelProperty("过人数")
    private Double singleSurpass;

    @ApiModelProperty("成功过人数")
    private Double singleOksurpass;

    @ApiModelProperty("抢断数")
    private Double singlePreemption;

    @ApiModelProperty("越位数")
    private Double singleOffside;

    @ApiModelProperty("犯规数")
    private Double singleFoul;

    @ApiModelProperty("被犯规数")
    private Double singleBefouled;

    @ApiModelProperty("黄牌数")
    private Double singleYcard;

    @ApiModelProperty("红牌数")
    private Double singleRcard;

    @ApiModelProperty("球员id")
    private Integer playerId;

    @ApiModelProperty("球队id")
    private Integer teamId;

    @ApiModelProperty("比赛id")
    private Integer gameId;

    @TableField(exist = false)
    private Player player;//球员信息

    @TableField(exist = false)
    private Game game;

    @TableField(exist = false)
    private GameData gameData;

    @TableField(exist = false)
    private League league;

}
